Re: MAC OSX DB Question

Поиск
Список
Период
Сортировка
От Henry B. Hotz
Тема Re: MAC OSX DB Question
Дата
Msg-id p05100301b93e49efb2cd@[137.78.212.225]
обсуждение исходный текст
Ответ на MAC OSX DB Question  (Thomas Castonzo <tcastonzo@mac.com>)
Список pgsql-ports
At 10:28 PM -0500 6/21/02, Thomas Castonzo wrote:
>Hello,
>
>I am trying to set up my database by entering the following command:
>"initdb -D  /Users/Shared/PostgreSQL/data"
>
>I get the following message from the shell: "initdb Unknown command"
>

No offence, but I would suppose you're a Unix newby, though perhaps
an old hand at MacOS.  This means that the initdb command isn't
stored anyplace the shell (command line interpreter) is looking for
it.  Those places include /usr/local/bin, and a bunch of standard
system directories.  So where is it?

That depends on how you installed postgres.  If you
compiled/installed it yourself then the --prefix=<dir> configure
option would have determined that.  (It defaults to /usr/local should
that should have been OK.)  If you used some pre-built package then
the package description should have told you.

Once you find the location then you can add a line to your ~/.cshrc
file like:  "setenv PATH $PATH:<location>" start a new terminal
window and you're all set.

Good luck.
--
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu



В списке pgsql-ports по дате отправления:

Предыдущее
От: reg@orion.dwf.com ()
Дата:
Сообщение: What Databases are there under this Postgres???
Следующее
От: "Ulrich Sprick"
Дата:
Сообщение: Re: PostgreSQL on Windows